package com.example.sonny.util;

import com.loopj.android.http.AsyncHttpClient;

/**
 * Created by Sonny on 2015/9/13.
 */
public class AsyncHttpClientUtil {
    private static AsyncHttpClient client;
    public synchronized static AsyncHttpClient getInstence(){
        if(client ==null){
            client = new AsyncHttpClient();
            client.setTimeout(1000*10);
        }
        return client;
    }
}
